/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.upf.grupof.projectphotos.messageobj;


import edu.upf.grupof.projectphotos.databases.Photo;
import java.io.Serializable;


/**
 *
 * @author fredi
 */
public class Contents implements iContents, Serializable{
    
    private Photo photos;
    private Thumbnail img;
    
    public Contents(Photo photos, Thumbnail img){
        this.photos=photos;
        this.img=img;
    }
    
    public Contents(Photo photos){
        this.photos=photos;
    }

    public Photo getPhotos() {
        return this.photos;
    }
    
    public Thumbnail getIcon() {
        return this.img;
    }
     
}
